package com.sample.plove.authener.model.response;

import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * PackageName:com.sample.plover.model.response
 * Author:Administrator
 * Time:1:07
 * Date:2019/5/14
 * Describe:
 * @author Administrator
 */
@Getter
@Setter
@ToString
public class AuthUserInfo implements Serializable {
    private static final long serialVersionUID = 7839586436158911212L;
    /**
     * 用户标识
     */
    @SerializedName("")
    private String openid;
    /**
     * 用户昵称
     */
    private String nickname;
    /**
     * 性别(1是男性,2是女性,0是未知)
     */
    private String sex;
    /**
     * 国家
     */
    private String country;
    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;
    /**
     * 用户头像链接
     */
    private String headimgurl;
    /**
     * 用户特权信息
     */
    private List<String> privilege;
    /**
     * 只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段
     */
    private String unionid;
}
